package com.itheima.user.service;

import com.itheima.entity.dto.LocationDto;
import org.springframework.data.geo.GeoResults;
import org.springframework.data.redis.connection.RedisGeoCommands;

/**
 * @author :WuJunJie
 * creationTime :2022-12-14 19:34
 */

public interface LocationService {
    Boolean insertLocation(LocationDto locationDto);

    GeoResults<RedisGeoCommands.GeoLocation<String>> selectLocation(LocationDto locationDto);
}
